if (!Array.prototype.includes)
  Array.prototype.includes = function(key, fromIndex = 0) {
    let flag = false;

    for (let i in this) {
      if (i < fromIndex) continue;
      if (this[i] === key) {
        flag = true;
        break;
      };
    }
    return flag;
  };
